﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdatePanelPage.aspx.cs"
    Inherits="UpdatePanelPage" %>

<%@ Register Assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <jQube:ScriptManager ID="scriptManager" runat="server" />
        <asp:Panel ID="panel" runat="server">
            <asp:Button ID="btnAsyncDummy" runat="server" Text="Click Me for Async Post Back!"
                OnClick="btnDummy_Click" />
            <asp:Button ID="btnPostDummy" runat="server" Text="Click Me for Normal Post Back!"
                OnClick="btnDummy_Click" />
        </asp:Panel>
        <jQube:UpdatePanel ID="updatePanel" runat="server">
            <Triggers>
                <jQube:AsyncPostBackTrigger TriggerControlID="btnAsyncDummy" />
                <jQube:PostBackTrigger TriggerControlID="btnPostDummy" />
            </Triggers>
            <Content>
                <asp:Label ID="lblDummy" runat="server" Text="Some Default Value" />
            </Content>
        </jQube:UpdatePanel>
    </div>
    </form>
</body>
</html>
